Grammar-based test generation for software product line feature models

نویسندگان

  • Ebrahim Bagheri
  • Faezeh Ensan
  • Dragan Gasevic
چکیده

Product lines are often employed for the facilitation of software re-use, rapid application development and increase in productivity. Despite the numerous advantages of software product lines, the task of testing them is a cumbersome process due to the fact that the number of applications that need to be tested is exponential to the number of features represented in the product line. In this paper, we attempt to reduce the number of required tests for testing a software product line while at the same time preserving an acceptable fault coverage. For this purpose, we introduce eight coverage criteria based on the transformation of software product line feature models into formal context-free grammars. The theoretical foundation for the proposed coverage criteria is based on the development of equivalence partitions on the software product line configuration space and the use of boundary value analysis for test suite generation. We have performed experiments on several SPLOT feature models, the results of which show that the test suite generation strategies based on the proposed coverage criteria are effective in significantly reducing the number of required tests and at the same time maintaining a high fault coverage ratio.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Evolutionary Search-Based Test Generation for Software Product Line Feature Models

Product line-based software engineering is a paradigm that models the commonalities and variabilities of different applications of a given domain of interest within a unique framework and enhances rapid and low cost development of new applications based on reuse engineering principles. Despite the numerous advantages of software product lines, it is quite challenging to comprehensively test the...

متن کامل

Validated Test Models for Software Product Lines: Featured Finite State Machines

Variants of the finite state machine (FSM) model have been extensively used to describe the behaviour of reactive systems. In particular, several model-based testing techniques have been developed to support test case generation and test case executions from FSMs. Most such techniques require several validation properties to hold for the underlying test models. In this paper, we propose an exte...

متن کامل

Some Challenges of Feature-based Class Diagram Merging

In software product line engineering, feature models enable to automate the generation of productspecific models in conjunction with domain “base models” (e.g. UML models). Two approaches exist: pruning of a large domain model, or merging of model fragments. In this paper, we investigate the impact of the merging approach on base models, and how they are made and used. We adopt an empirical met...

متن کامل

Generating Realistic non-functional Property Attributes for Feature Models

In recent years the analysis of feature models, that contain non-functional properties, via analysis methods is rapidly gaining interest in the field of software product line engineering. Those methods are a useful and reliable tool, when testing is approved under real-world conditions. The majority of methods are, however, still tested with feature models containing random NFP values. Hence, w...

متن کامل

Systems Variability Modeling: A Textual Model Mixing Class and Feature Concepts

System’s reusability and cost are very important in software product line design area. Developers’ goal is to increase system reusability and decreasing cost and efforts for building components from scratch for each software configuration. This can be reached by developing software product line (SPL). To handle SPL engineering process, several approaches with several techniques were developed. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012